Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agsdoc html style update #440

Draft
wants to merge 34 commits into
base: master
Choose a base branch
from
Draft

Agsdoc html style update #440

wants to merge 34 commits into from

Conversation

rmottola
Copy link
Member

Second PR to work together and comment, @rfm

@rmottola rmottola requested a review from rfm as a code owner August 22, 2024 12:36
@rmottola
Copy link
Member Author

@rfm I notice some indenting issues. Check generated header or paragraphs.

Here head has too much indentation.

<html lang="en">
    <head>
    <meta charset="utf-8">
    <title>GNUstep Base</title>
    <style type="text/css">
    hr.method-separator { width:25%; margin-left:0; }
    </style>
  </head>

I had a look at - (void) outputNode: (GSXMLNode*)node to: (NSMutableString*)buf whch appears to be the first direct call from outputDocument: L434 and it looks nested fine to me. Do you spot the error?

Here instead P is closed too much, but it may be a different issue, coming from the source comment itself?

    <p>

	The GNUstep Base library is a free software package implementing
        the API of the OpenStep Foundation Kit (tm), including later
	additions.  This documentation package describes the core of the
	Base library, for documentation on additional classes, see the
	BaseAdditions documentation package.
          </p>

@rfm
Copy link
Contributor

rfm commented Aug 22, 2024 via email

@rmottola
Copy link
Member Author

rmottola commented Aug 24, 2024

AGSHtml.m: In function ‘-[AGSHtml makeLink:ofType:isRef:]’:
AGSHtml.m:307:3: warning: ‘AGSHtml’ may not respond to ‘-makeURL:ofType:isRef:’
   s = [self makeURL: r ofType: t isRef: f];
   ^
AGSHtml.m:307:3: warning: (Messages without a matching method signature
AGSHtml.m:307:3: warning: will be assumed to return ‘id’ and accept
AGSHtml.m:307:3: warning: ‘...’ as arguments.)

Proposed fix: 21f2cd0

@rfm what do you think?

Copy link
Contributor

@rfm rfm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me. Thanks.

@rmottola rmottola marked this pull request as draft September 16, 2024 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants